package com.zmn.plat.constant;

/**
 * @author quanjic
 * @version v1.0
 * @since 2018/11/23 21:23
 **/
public class RedisKeyConstant {

    /**
     * 在线登录员工列表KEY
     */
    public static final String ONLINE_STAFF_KEY = "plat:online_staffs";

    /**
     * 师傅在线缓存KEY
     */
    public static final String MAST_MASTER_ONLINE_SCORE = "plat:mast:master_online";
    /**
     * 师傅位置缓存KEY
     */
    public static final String MAST_MASTER_LOCATION_SCORE = "plat:mast:master_location";

    /**
     * 描述: 师傅临时密码KEY
     *
     * @author wangjie
     * @since 2019/9/20
     **/
    public static final String MAST_MASTER_TEMP_PWD = "plat:mast:master:temp_pwd";

    /**
     * 零时密码
     */
    public static final String TEMPLATE_PWD = "plat:cas:temp_pwd";

    /**
     * 描述: redis 自增key 按天配置
     *
     * @author wangjie
     * @since 2019/8/2
     **/
    public static final String BLACKLIST_SINCE_IP_REDIS_DAY_KEY_IP = "plat:blacklist:since_day_redis_key_ip:";
    public static final String BLACKLIST_SINCE_IP_REDIS_DAY_KEY_MOBILE = "plat:blacklist:since_day_redis_key_mobile:";
    public static final String BLACKLIST_SINCE_IP_REDIS_DAY_KEY_USER_ID = "plat:blacklist:since_day_redis_key_user_id:";
    public static final String BLACKLIST_IP_LIST = "plat:blacklist:ip:list";

    /**
     * 描述: redis 自增key 按时间配置
     *
     * @author wangjie
     * @since 2019/8/2
     **/
    public static final String BLACKLIST_SINCE_IP_REDIS_TIME_KEY_IP = "plat:blacklist:since_time_redis_key_ip_";
    public static final String BLACKLIST_SINCE_IP_REDIS_TIME_KEY_MOBILE = "plat:blacklist:since_time_redis_key_mobile_";
    public static final String BLACKLIST_SINCE_IP_REDIS_TIME_KEY_USER_ID = "plat:blacklist:since_time_redis_key_user_id_";

}
